package com.sparrow.example_message.map.resp;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.sparrow.example_message.PacketId;
import com.sparrow.example_message.map.vo.DamageVo;
import com.sparrow.socket.anno.Packet;

import java.util.ArrayList;
import java.util.List;

@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "玩家攻击命中")
@Packet(msgId = PacketId.Scene.RESP_ATTACK_HIT)
public class RespAttackHitPacket {
    @Protobuf(description = "desc")
    private List<DamageVo> damageList = new ArrayList<>();

    public void setDamageList(List<DamageVo> damageList) {
        this.damageList = damageList;
    }

    public List<DamageVo> getDamageList() {
        return damageList;
    }
}
